<?php
/**
 * Created by PhpStorm.
 * User: tom_xia
 * Date: 2018-01-18
 * Time: 22:54
 * redis key仓库
 */

namespace app\cls\tom;




class RedisKeyFactory
{
    const KEY_PREFIX = REDIS_PREFIX;

    public static function getUserTokenKey($id)
    {
        return self::KEY_PREFIX."user_token_".$id;
    }
}